package com.xbh.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xbh.management.model.ManMenu;
import com.xbh.management.model.ManRole;

import java.util.List;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2021-10-01 15:25
 */

public interface MenuService extends IService<ManMenu> {

    List<ManMenu> queryAllMenu();

    ManMenu queryMenuWithMenuId(Long menuId);

    int saveMenu(ManMenu menu);

    int updateMenu(ManMenu menu);

    int deleteMenuByMenuIds(String menuIds);

    List<ManRole> queryAllMenuRelationRole(Long menuId);
}
